package com.onesports.intelligent.k12.polarlight.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;

public enum DataScopeTypeEnum implements IEnum<String> {

    ORGANIZATION("1", "机构"),
    CAMPUS("2", "校区"),;

    private final String value;
    private final String label;

    DataScopeTypeEnum(String value, String label){
        this.value = value;
        this.label = label;
    }




    @Override
    public String getValue() {
        return this.value;
    }


    @JsonValue
    public String getDesc() {
        return this.label;
    }
}